﻿using System;
using System.Runtime.Serialization;

namespace EvidenceManagement.Model.Security
{
    [DataContract]
    [DbObject(ListCommandText = "SystemSecurityPolicy_List"
        , InsertCommandText = "SystemSecurityPolicy_Insert"
        , DeleteCommandText = "SystemSecurityPolicy_Delete"
        , SelectCommandText = "SystemSecurityPolicy_Select"
        , UpdateCommandText = "SystemSecurityPolicy_Update")]
    public class SystemSecurityPolicy : IAuditable
    {
        public SystemSecurityPolicy()
        {
        }

        [DbColumn]
        [DataMember]
        public Guid SystemSecurityPolicyID { get; set; }

        [DbColumn]
        [DataMember]
        public string Description { get; set; }

        [DbColumn]
        [DataMember]
        public string SystemDescription { get; set; }

        [DbColumn]
        [DataMember]
        public string SecurityPolicy { get; set; }

        #region IAuditable Members

        [DbColumn]
        [DataMember]
        public Guid CreatedBy
        {
            get;
            set;
        }

        [DbColumn]
        [DataMember]
        public Guid ModifiedBy
        {
            get;
            set;
        }

        public bool IsDeleted
        {
            get;
            set;
        }

        #endregion
    }
}
